﻿<Window x:Class="ButtonTemplate.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:ButtonTemplate"
        mc:Ignorable="d"
        Title="Fun With Templates" Height="450" Width="800">
    <Grid>
        <StackPanel Orientation="Horizontal">
            <Button x:Name="myButton" Background="Red" Content="Howdy!"
                    Click="myButton_Click" Style="{StaticResource RoundButtonStyle}"/>
            <!--<Button x:Name="myButton" Width="100" Height="100"
                    Background="Red" Content="Howdy!"
                    Click="myButton_Click"
                    Template="{StaticResource RoundButtonTemplate}" />-->
            <Button x:Name="myButton2" Width="100" Height="100"
                    Background="LightGreen" Content="Cancel!"
                    Template="{StaticResource RoundButtonTemplate}" />
            <Button x:Name="myButton3" Width="100" Height="100"
                    Background="Yellow" Content="Format"
                    Template="{StaticResource RoundButtonTemplate}" />
        </StackPanel>

    </Grid>
</Window>